// ignore_for_file: non_constant_identifier_names

import 'package:flutter/material.dart';
import 'package:get/get.dart';

Widget M6NaviTitle(String string) {
  return Text(
    string,
    style: const TextStyle(color: Colors.white, fontSize: 16),
  );
}

class M6AppBar extends AppBar {
  M6AppBar(String title)
      : super(
          elevation: 0,
          backgroundColor: MainColor(),
          title: M6NaviTitle(title),
          leading: IconButton(
              onPressed: () {
                Get.back();
              },
              icon: const Icon(Icons.arrow_back_ios_new)),
        );
}

Color MainColor() => const Color(0xFF3154E2);
Color Color333333() => const Color(0xFF333333);
Color ColorCCCCCC() => const Color(0xFFCCCCCC);
Color Color666666() => const Color(0xFF666666);
Color Color999999() => const Color(0xFF999999);
